package cn.ctodb.mall.config.repository;

import cn.ctodb.mall.config.domain.Config;

import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Spring Data MongoDB repository for the Config entity.
 */
@SuppressWarnings("unused")
public interface ConfigRepository extends MongoRepository<Config,String> {

    Config findOneByTypeAndCode(String type,String code);
}
